#!/usr/bin/python
l = [1,2,3,4]

for i in l:
    if i != 4 :
        l.remove(i)
print l
